package ch.inputRoute;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.View;
import android.view.ContextMenu.ContextMenuInfo;
import android.widget.Button;

public class PlanActivity extends Activity
{
	
		@Override
		protected void onCreate(Bundle savedInstanceState) 
		{
			 super.onCreate(savedInstanceState);
			
			setContentView(R.layout.imageview);
			
			  Button back = (Button) findViewById(R.id.buttonBack);
			
			  back.setOnClickListener(new View.OnClickListener() 
			  {
					@Override
					public void onClick(View v) {
						Intent myIntent = new Intent(v.getContext(), InputRouteActivity.class);
			            startActivityForResult(myIntent, 0);
					}
				});   
			
		};
	
	  	@Override
	  	public void onCreateContextMenu(ContextMenu menu, View v,
	  			ContextMenuInfo menuInfo) 
	  	{
	  	
	  		super.onCreateContextMenu(menu, v, menuInfo);
	  	}
}
